Computer science Lesson Plan
Class: 7th - Lesson:12 Text to speech, video sensing and Face Sensing Blocks

Purpose:Understand how to use Text to Speech to create talking sprites and How to apply Video Sensing to detect motion from a webcam and trigger events.

No. of Classes

One or two classes (Teacher's decision).

Materials Required

Scratch 3.0, Internet

Prior knowledge

Familiarity with basic Scratch concepts (Events, Loops, Variables, Clones, Custom Blocks and internet).

Exercises

Exercise:1



  • Create a scratch code in which you have to insert four buttons: walk, fly, run, swim. When you click on each it will explain about that action and its benefits by using looks as well as text to speech.
  • Exercise:2



  • : Insert a banana sprite. The banana will keep falling from top to bottom. If video motion on the banana is greater than 50 the banana will once again start falling from top and the score will be increased..
  • Exercise:3



  • : Detect your face on the screen.Your face movement (like moving left, right, up, or down) can control a sprite.When you move your face left, the sprite moves left.When you smile or move closer, something can happen in the game.
  • Solutions



  • Link to copy solution program for exercise-1.
  • Link to copy solution program for exercise-2.

  • Teacher's Instruction
    1. Before starting, ensure students are familiar with basic Scratch blocks like Events, Motion, Looks, Operators, and how to create simple programs.
    2. Teach students how to add extensions (Text to speech, Video sensing) in Scratch.
    3. POINTS TO PONDER :Ask the students to imagine how the computer will be doing text-to-speech. Using words, using phonetics, etc.